Monte Carlo simulation is a modeling method used to predict the probabilities of various outcomes in processes that are difficult to predict due to the intervention of random variables. This is a technique used to understand the impact of risk and uncertainty.
Monte Carlo simulation is a modeling method used to predict the probabilities of various outcomes in processes that are difficult to predict due to the intervention of random variables. This is a technique used to understand the impact of risk and uncertainty. Monte Carlo simulation can be applied to a variety of problems in many fields, including investing, business, physics, and engineering. This technique is also known as multiple probability simulation.
When forecasting or estimating in the face of significant uncertainty, some methods replace the uncertain variables with a single average. Monte Carlo simulation, on the other hand, uses multiple values and then averages the results.
Monte Carlo simulations are widely used in fields affected by random variables, especially in business and investment. They are used to estimate the probability of cost overruns in large projects and to predict the odds that asset prices are likely to move in a particular direction.
Telecommunications companies use Monte Carlo simulations to evaluate network performance under various scenarios to optimize network performance. Insurance companies use such simulations to quantify the risks they may assume and price their policies accordingly. Investment analysts use Monte Carlo simulations to assess an entity's risk of default and to analyze derivatives such as options. Financial planners can use these simulations to predict the likelihood that a client will run out of money in retirement. [1]
Monte Carlo simulations are also widely used in many fields beyond business and finance, such as meteorology, astronomy, and physics.
Today, Monte Carlo simulations are increasingly used in conjunction with new artificial intelligence (AI) models. For example, many financial firms now use high-performance computing systems to run Monte Carlo simulations, IBM reported in 2024. "As the number of these simulations continues to increase and cover an ever-expanding range of financial assets and instruments, it becomes increasingly challenging to fully interpret this data." This is where artificial intelligence comes into play. IBM said, "Using AI to assist professionals in evaluating these simulations can improve accuracy and provide more timely insights. In a business environment where timeliness is a key differentiator, this has immediate business value."[2]
Monte Carlo simulation takes its name from Monaco, a famous gambling destination, because chance and random outcomes are at the heart of this modeling technique, just like the games of roulette, dice, and slot machines.
The technique was originally developed by mathematician Stanislaw Ulam, who worked on the Manhattan Project, the secret project to create the first atomic bomb. He shared his ideas with John von Neumann, a colleague on the Manhattan Project, and the two collaborated to improve Monte Carlo simulations. [3]
Monte Carlo methods acknowledge the problem facing any simulation technique: the inability to accurately determine the probabilities of different outcomes due to interference from random variables. Therefore, Monte Carlo simulation focuses on repeated random samples.
Monte Carlo simulation assigns a random value to an uncertain variable. Then run the model and provide the results. This process is repeated again and again, assigning many different values to the relevant variables. Once the simulation is complete, the results are averaged to produce an estimate.
To perform a Monte Carlo simulation, there are four main steps. Using Microsoft Excel or a similar program as an example, you can create a Monte Carlo simulation to estimate the price fluctuations of a stock or other asset.
Asset price fluctuations have two components: drift, which is its constant directional movement, and stochastic input, which represents market volatility.
By analyzing historical price data, a security's drift, standard deviation, variance, and average price fluctuations can be determined. These are the basic building blocks of Monte Carlo simulation.
The four steps are as follows:
Step 1. Using the asset's historical price data to generate a series of cyclical daily returns, use the natural logarithm (note that this formula is different from the common percentage change formula) to predict a possible price trajectory:
Step 2. Next, use the AVERAGE, STDEV.P, and VAR.P functions to process the entire result series to obtain the average daily return, standard deviation, and variance inputs respectively. Drift is equal to:
Alternatively, the drift can be set to 0; this choice reflects a theoretical orientation, but for short time frames the difference will not be significant.
Step 3. Next, get random input:
The price equation for the next day is:
Step 4. In Excel, to raise e to a given power x, use the EXP function: EXP(x). Repeat this calculation as many times as necessary. (Each repetition represents one day.) The result is a simulation of the asset's future price fluctuations.
By generating any number of simulations, you can evaluate the probability that a security's price will follow a specific trajectory.
The frequency of different outcomes generated by this simulation will form a normal distribution, a bell-shaped curve. The most likely return is in the middle of the curve, meaning there is an equal chance that the actual return will be above or below that value.
The probability that the actual return will be within one standard deviation of the most likely ("expected") return is 68%. The probability of being within two standard deviations is 95%, and the probability of being within three standard deviations is 99.7%.
However, there is no guarantee that the most anticipated results will occur, or that actual movements will not exceed the wildest predictions.
Crucially, Monte Carlo simulations ignore all factors that do not factor into price movements, such as macro trends, a company's leadership, market hype, and cyclical factors.
In other words, it assumes that markets are perfectly efficient.
Monte Carlo simulations were created to overcome the perceived shortcomings of other methods of estimating possible outcomes.
The difference is that the Monte Carlo method tests multiple random variables and then averages them, rather than starting from an average.
Like any financial simulation, Monte Carlo methods rely on historical price data as the basis for predictions of future price data. It then interrupts this pattern by introducing random variables, represented numerically. Finally, it averages these numbers to estimate the risk of the pattern being disrupted in real life.
Of course, no simulation can accurately predict the inevitable outcome. The Monte Carlo method is designed to provide a more scientific estimate of probability in order to predict that an outcome may be different than expected.
Monte Carlo simulation is used to estimate the probability of a certain outcome, so it is widely used by investors and financial analysts to assess the potential success of the investments they are considering. Common uses include:
Although Monte Carlo simulation is best known for its financial applications, it is used in almost every profession that needs to measure risk and prepare for it.
For example, a telecommunications company might build its network to support the needs of all users. To achieve this goal, it must take into account all possible changes in service demand. It needs to be determined whether the system can withstand the pressure during peak hours and peak seasons.
Monte Carlo simulations may help companies decide whether their services can handle the stress of Super Bowl Sunday, as well as the stress of a regular Sunday in August.
Monte Carlo simulations in investing are based on historical price data for the asset being evaluated.
The basic building blocks of simulation are derived from historical data, namely drift, standard deviation, variance and average price fluctuations.
Monte Carlo simulations show the spectrum of possible outcomes under uncertainty. This technique assigns multiple values to an uncertain variable, obtains multiple results, and then averages the results to produce an estimate.
Monte Carlo methods are used to measure risk in many fields, from investing to engineering, including estimating the likelihood of a gain or loss on an investment, or the chance of a project going over budget.
[1] T. Rowe Price. "How a Monte Carlo Analysis Could Help Improve Your Retirement Plan."
[2] IBM. "Working Together, AI & HPC Can Solve Large, Complex Problems."
[3] Virginia Polytechnic Institute, via Internet Archive Wayback Machine. "Monte Carlo Simulation."
TheQuantHackers is a cutting-edge community composed of a group of people from the world's top universities and quantitative finance practitioners, dedicated to exploring the infinite possibilities in the fields of artificial intelligence (AI) and quantification (Quant). Our team members come from world-renowned universities such as the University of Cambridge, Oxford University, Harvard University, ETH Zurich, Peking University, and the University of Science and Technology of China. Our external consultants come from first-class companies such as Microsoft, HSBC, Citadel, Man Group, Citi, Jump Trading, and top domestic private equity companies.
Upgrade to unlock all institutional-grade algorithms, derivative pricing engines, factor backtesting frameworks, and live QuantLab execution.
Explore Membership Access
Pre-order · £490Quantitative analytics platform
Waitlist closed — signal locked. Pre-order TQH TERMINAL now at £490 with launch-day delivery.